<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex flex-wrap align-center justify-between benben-position-layout flex informationShopss_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center informationShopss_fd0_0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <image class='informationShopss_fd0_0_c0'  mode="aspectFit"  :src='STATIC_URL+"234.png"'></image>
</view>
<text class='informationShopss_fd0_1'  >店铺信息</text>
    <view   class='flex flex-wrap align-center informationShopss_fd0_0'      >
        </view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!--选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker1" :visible.sync="pickerDiy1680491677140" :label.sync='address' :province.sync='dataMessage.store_province_id' :city.sync='dataMessage.store_city_id' :area.sync='dataMessage.store_district_id'  mode='region' :mask-show='true' :picker-height='88' :hide-area='false'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker1_0'      >
        <text   @tap="$refs.benbenWritePickerCodepicker1.cancel()" >取消</text>
<text   >选择地址</text>
<text class='informationShopss_picker1_0_c2'  @tap="$refs.benbenWritePickerCodepicker1.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--选择器结束 -->
<!---店铺信息flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout informationShopss_flex_2"    >
            <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_0_c0'  >{{$t('店铺名称')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="text" :placeholder="$t('请输入店铺名称')" confirm-type="done" :maxlength="-1" placeholder-style="color:rgba(187, 187, 187, 1);font-size:28rpx"  v-model="dataMessage.store_name" />
</view>
    <view   class='flex align-center informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('店铺logo')}}</text>
<text class='informationShopss_fd2_1_c1'  >(72*72)</text>
<view class="upload position-relative">
    
     <image class=" informationShopss_fd2_1_c2_image" mode="aspectFit"  @tap="soloChooseImage('store_logo','store_logo',dataMessage,dataMessage)" :src="dataMessage.store_logo ? dataMessage.store_logo : STATIC_URL+'330.png'"></image>
</view>
</view>
    <view   class='flex align-center informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('店铺背景')}}</text>
<text class='informationShopss_fd2_1_c1'  >(375*135)</text>
<view class="upload position-relative">
    
     <image class=" informationShopss_fd2_2_c2_image" mode="aspectFit"  @tap="soloChooseImage('store_backdrop','store_backdrop',dataMessage,dataMessage)" :src="dataMessage.store_backdrop ? dataMessage.store_backdrop : STATIC_URL+'327.png'"></image>
</view>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('经营方式')}}</text>
    <benben-select-diy ref="showSelectPopup1680053285571" class-name='flex align-center flex'  :items.sync="manage_type" v-model="dataMessage.run_type_id"  default-type="value" default-label="name" :allow-cancel='false' type="radio" :disabled='false'  >
    <template v-for = '(item,key0) in manage_type'>
            <view v-if="item.isSelected"  class='flex align-center flex informationShopss_fd2_3_c1_c0'  :key="key0" @tap="$refs.showSelectPopup1680053285571.tapHandle(key0)"     >
        <image class='informationShopss_fd2_3_c1_c0_c0'  mode="aspectFit"  :src='STATIC_URL+"132.png"'></image>
<text class='informationShopss_fd2_3_c1_c0_c1'  >{{item.name}}</text>
</view>    <view  v-else  class='flex align-center flex informationShopss_fd2_3_c1_c0'  :key="key0" @tap="$refs.showSelectPopup1680053285571.tapHandle(key0)"     >
        <image class='informationShopss_fd2_3_c1_c1_c0'  mode="aspectFit"  :src='STATIC_URL+"331.png"'></image>
<text class='informationShopss_fd2_3_c1_c1_c1'  >{{item.name}}</text>
</view></template></benben-select-diy>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'   @tap.stop="pickerDiy1680053501640=true"   >
        <text class='informationShopss_fd2_4_c0'  >{{$t('主营行业')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="text" :placeholder="$t('请选择主营行业')" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMessage.main_industry" />
<image class='informationShopss_fd2_4_c2'  mode="aspectFit"  :src='STATIC_URL+"332.png"'></image>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'   @tap.stop="pickerDiy1680053864373=true"   >
        <text class='informationShopss_fd2_1_c0'  >{{$t('入驻时长')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="text" :placeholder="$t('请选择入驻时长')" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMessage.stay_time" />
<image class='informationShopss_fd2_4_c2'  mode="aspectFit"  :src='STATIC_URL+"332.png"'></image>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('保证金')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="digit" :placeholder="`0.00`" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMoney.service_fee" />
<text class='informationShopss_fd2_6_c2'  >元</text>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('服务费')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="digit" :placeholder="`0.00`" confirm-type="done" :maxlength="-1" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMoney.enter_money" />
<text class='informationShopss_fd2_6_c2'  >元</text>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('总计')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="digit" :placeholder="`0.00`" confirm-type="done" :maxlength="-1" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMoney.money" />
<text class='informationShopss_fd2_6_c2'  >元</text>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'   @tap.stop="pickerDiy1680491677140=true"   >
        <text class='informationShopss_fd2_1_c0'  >{{$t('店铺所在地')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="text" :placeholder="$t('请选择')" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="address" />
<image class='informationShopss_fd2_4_c2'  mode="aspectFit"  :src='STATIC_URL+"332.png"'></image>
</view>
    <view   class='flex flex-direction align-stretch justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_10_c0'  >{{$t('店铺详细地址')}}</text>
<view class='flex flex-wrap informationShopss_fd2_10_c1'>
<textarea class='flex informationShopss_input_fd2_10_c1'  confirm-type="done" :placeholder="$t('请输入详细地址')" :maxlength="240" placeholder-style="color:rgba(191, 191, 191, 1);font-size:24rpx"   v-model="dataMessage.store_address" />

</view>
</view>
    <view   class='flex flex-direction align-stretch justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_10_c0'  >{{$t('店铺简介')}}</text>
<view class='flex flex-wrap informationShopss_fd2_10_c1'>
<textarea class='flex informationShopss_input_fd2_10_c1'  confirm-type="done" :placeholder="$t('请输入店铺简介')" :maxlength="240" placeholder-style="color:rgba(191, 191, 191, 1);font-size:24rpx"   v-model="dataMessage.store_introduce" />

</view>
</view>
    <view   class='flex flex-direction align-stretch informationShopss_fd2_12'      >
        <text class='informationShopss_fd2_12_c0'  >工作日</text>
    <view   class='flex flex-wrap align-center'      >
            <benben-select-diy ref="showSelectPopup1691229870166" class-name='flex flex-wrap align-center flex'  :items.sync="week" v-model="dataMessage.workday_id"  default-type="value" default-label="name" :allow-cancel='true' type="checkbox" :disabled='false' :max-select="-1"  >
    <template v-for = '(item,key0) in week'>
            <view v-if="item.isSelected"  class='flex align-center justify-center flex informationShopss_fd2_12_c1_c0_c0'  :key="key0" @tap="$refs.showSelectPopup1691229870166.tapHandle(key0)"     >
        <text class='informationShopss_fd2_12_c1_c0_c0_c0'  >{{item.name}}</text>
</view>    <view  v-else  class='flex align-center justify-center flex informationShopss_fd2_12_c1_c0_c1'  :key="key0" @tap="$refs.showSelectPopup1691229870166.tapHandle(key0)"     >
        <text class='informationShopss_fd2_12_c1_c0_c1_c0'  >{{item.name}}</text>
</view></template></benben-select-diy>
</view>
</view>
    <view   class='flex align-center justify-between informationShopss_fd2_0'      >
        <text class='informationShopss_fd2_1_c0'  >{{$t('客服电话')}}</text>
<input class='flex-sub informationShopss_fd2_0_c1'   type="number" :placeholder="$t('请输入客服电话')" confirm-type="done" :maxlength="11" placeholder-style="color:rgba(191, 191, 191, 1);font-size:28rpx"  v-model="dataMessage.service_phone" />
</view>
    <view   class='flex align-center informationShopss_fd2_14'      >
        <text class='informationShopss_fd2_14_c0'  >营业时间</text>
    <view   class='flex flex-wrap align-center informationShopss_fd2_14_c1'      >
            <view   class='flex flex-wrap align-center'   @tap="pickerDiy1691146599632=true"   >
        <input class='informationShopss_fd2_14_c1_c0_c0'   type="text" :placeholder="`开始时间`" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:#999;font-size:30rpx"  v-model="dataMessage.business_hours_start" />
</view>
<text class='informationShopss_fd2_14_c1_c1'  >至</text>
    <view   class='flex flex-wrap align-center'   @tap="pickerDiy1691147636958=true"   >
        <input class='informationShopss_fd2_14_c1_c0_c0'   type="text" :placeholder="`结束时间`" confirm-type="done" :maxlength="-1" :disabled='true' placeholder-style="color:#999;font-size:30rpx"  v-model="dataMessage.business_hours_end" />
</view>
</view>
</view>
    <view   class='flex flex-wrap align-center justify-center informationShopss_fd2_15'      >
        <button class='informationShopss_fd2_15_c0'  @tap.stop="handleJumpDiy" data-type="back" data-url="1"  >{{$t('上一步')}}</button>
<button class='informationShopss_fd2_15_c1'  @tap.stop="submitMessageFunc()"  >{{$t('提交')}}</button>
</view>
</view>
        
<!---店铺信息flex布局结束-->
<!--营业结束时间选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker3" :visible.sync="pickerDiy1691147636958" :value.sync='dataMessage.business_hours_end'  mode='time' :mask-show='true' :timeout='true' :picker-height='88' :current='true' :second='false'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker3_0'      >
        <text class='informationShopss_picker3_0_c0'  @tap="$refs.benbenWritePickerCodepicker3.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker3_0_c2'  @tap="$refs.benbenWritePickerCodepicker3.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--营业结束时间选择器结束 -->
<!--营业时间开始选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker4" :visible.sync="pickerDiy1691146599632" :value.sync='dataMessage.business_hours_start'  mode='time' :mask-show='true' :timeout='true' :picker-height='88' :current='true' :second='false'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker4_0'      >
        <text class='informationShopss_picker4_0_c0'  @tap="$refs.benbenWritePickerCodepicker4.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker4_0_c2'  @tap="$refs.benbenWritePickerCodepicker4.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--营业时间开始选择器结束 -->
<!--主营行业选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker5" :visible.sync="pickerDiy1680053501640" :label.sync='dataMessage.main_industry' :value.sync='dataMessage.main_industry_id' :options='dataDetails'  @change="getMoneyFunc()" mode='selector' :mask-show='true' :timeout='true' :picker-height='88' default-type='aid' :default-props='{"label":"name","value":"aid"}'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker5_0'      >
        <text class='informationShopss_picker5_0_c0'  @tap="$refs.benbenWritePickerCodepicker5.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker5_0_c2'  @tap="$refs.benbenWritePickerCodepicker5.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--主营行业选择器结束 -->
<!--入住时长选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker6" :visible.sync="pickerDiy1680053864373" :label.sync='dataMessage.stay_time' :value.sync='dataMessage.stay_time_id' :options='duration'  @change="getMoneyFunc()" mode='selector' :mask-show='true' :timeout='true' :picker-height='88' default-type='aid' :default-props='{"label":"name","value":"aid"}'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker6_0'      >
        <text class='informationShopss_picker6_0_c0'  @tap="$refs.benbenWritePickerCodepicker6.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker6_0_c2'  @tap="$refs.benbenWritePickerCodepicker6.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--入住时长选择器结束 -->
<!--选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker7" :visible.sync="pickerDiy1691148311755" :label.sync='address' :province.sync='dataMessage.store_province_id' :city.sync='dataMessage.store_city_id' :area.sync='dataMessage.store_district_id'  mode='region' :mask-show='true' :picker-height='88' :hide-area='false'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker7_0'      >
        <text   @tap="$refs.benbenWritePickerCodepicker7.cancel()" >取消</text>
<text   >选择地址</text>
<text class='informationShopss_picker7_0_c2'  @tap="$refs.benbenWritePickerCodepicker7.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--选择器结束 -->
<!--入住时长选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker8" :visible.sync="pickerDiy1691147495286" :label.sync='dataMessage.stay_time' :value.sync='dataMessage.stay_time_id' :options='duration'  @change="getMoneyFunc()" mode='selector' :mask-show='true' :timeout='true' :picker-height='88' default-type='aid' :default-props='{"label":"name","value":"aid"}'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker8_0'      >
        <text class='informationShopss_picker8_0_c0'  @tap="$refs.benbenWritePickerCodepicker8.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker8_0_c2'  @tap="$refs.benbenWritePickerCodepicker8.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--入住时长选择器结束 -->
<!--主营行业选择器开始 -->
        <benben-picker ref="benbenWritePickerCodepicker9" :visible.sync="pickerDiy1691148273408" :label.sync='dataMessage.main_industry' :value.sync='dataMessage.main_industry_id' :options='dataDetails'  @change="getMoneyFunc()" mode='selector' :mask-show='true' :timeout='true' :picker-height='88' default-type='aid' :default-props='{"label":"name","value":"aid"}'  >
            <template #picker-header>
        <view   class='flex flex-wrap align-center justify-between informationShopss_picker9_0'      >
        <text class='informationShopss_picker9_0_c0'  @tap="$refs.benbenWritePickerCodepicker9.cancel()" >取消</text>
<text   ></text>
<text class='informationShopss_picker9_0_c2'  @tap="$refs.benbenWritePickerCodepicker9.pickerConfirm()" >确定</text>
</view>
</template>
        </benben-picker>
<!--主营行业选择器结束 -->
    
    
        </view>
    </view>
</template>
<script>
    import UploadImage from '@/common/utils/upload-image.js'
import {validate} from '@/common/utils/validate.js'
    export default {
        components:{},
        
        
        data(){
			return {"pickerDiy1691148273408":false,"pickerDiy1691147495286":false,"pickerDiy1691148311755":false,"pickerDiy1680053864373":false,"pickerDiy1680053501640":false,"pickerDiy1691146599632":false,"pickerDiy1691147636958":false,"pickerDiy1680491677140":false,"time":"","industry":"","dataMessage":{"aid":"","member_id":"","member_account":"","member_name":"","person":"","idcard_no":"","province_idc":"","province_name":"","city_id":"","city_name":"","district_id":"","district_name":"","address":"","store_province_id":"","store_province_name":"","store_city_id":"","store_city_name":"","store_district_id":"","store_district_name":"","store_address":"","contacts_name":"","contacts_phone":"","idcard_front":"","idcard_reverse":"","store_name":"","store_logo":"","business_licence":"","joinin_state":"","joinin_message":"","range":"","reason":"","merchant_ratio":"","apply_type":"","company_name":"","company_province_id":"","company_city_id":"","company_district_id":"","company_address":"","credit_code":"","store_level":"","main_industry":"","stay_time":"","pay_img":"","pay_remarks":"","pay_money":"","pay_time":"","run_type":"","expiration_time":"","store_backdrop":"","service_phone":"","store_introduce":"","workday":"","business_hours":"","enter_money":"","qualification_certificate":"","create_time":"","true_name":"","account_id":"","qrcode":"","bank_branch":"","bank_address":"","company_address_id":"","account_type":"","account_name":"","run_type_id":"","stay_time_id":"","main_industry_id":"","business_hours_start":"","business_hours_end":"","workday_id":""},"manage_type":[{"name":"自营","value":"1","image":""},{"name":"非自营","value":"2","image":""}],"dataDetails":[],"dataMoney":{"enter_money":"","service_fee":"","money":""},"duration":[],"address":"","week":[{"name":"星期一","value":"1","image":""},{"name":"星期二","value":"2","image":""},{"name":"星期三","value":"3","image":""},{"name":"星期四","value":"4","image":""},{"name":"星期五","value":"5","image":""},{"name":"星期六","value":"6","image":""},{"name":"星期日","value":"7","image":""}],"week_id":"","start_time":"","end_time":"","name":""};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {name}=options
if (name !== undefined) this.name = name
this.getTimeFunc()
this.getindustryFunc()
this.queryMessageFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                         //上传单图、多图方法
    soloChooseImage(id, path, obj, obj1, fnName = false) {
      let self = this
      if (!obj) obj = this
      if (!obj1) obj1 = this
      if (self.uploading) {
        return
      }
      // 从相册中选择图片
      uni.chooseImage({
        count: 1, // 默认3
        sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图，默认二者都有
        success: function (res) {
          self.uploading = true
          // 开始上传
          new UploadImage(res.tempFiles, {
            complete: function (res) {
              self.uploading = false
              if (id) self.$set(obj, id, res[0].id)
              if (path) self.$set(obj1, path, res[0].path)
              if (fnName) self[fnName]()
            },
          })
        },
      })
    },
                //提交店铺信息
                async submitMessageFunc(){
                                if(!validate(this.dataMessage.store_name,'require')){
                 this.$message.info('请填写店铺名称');
                 return false;
            }
            if(!validate(this.dataMessage.store_logo,'require')){
                 this.$message.info('请上传店铺logo');
                 return false;
            }
            if(!validate(this.dataMessage.store_backdrop,'require')){
                 this.$message.info('请上传店铺背景');
                 return false;
            }
            if(!validate(this.dataMessage.main_industry_id,'require')){
                 this.$message.info('请选择主营行业');
                 return false;
            }
            if(!validate(this.dataMessage.stay_time_id,'require')){
                 this.$message.info('请选择入驻时长');
                 return false;
            }
            if(!validate(this.dataMessage.store_province_id,'require')){
                 this.$message.info('请选择店铺所在地地址');
                 return false;
            }
            if(!validate(this.dataMessage.store_address,'require')){
                 this.$message.info('请输入详细地址');
                 return false;
            }
            if(!validate(this.dataMessage.store_introduce,'require')){
                 this.$message.info('请输入店铺简介');
                 return false;
            }
            if(!validate(this.dataMessage.workday_id,'require')){
                 this.$message.info('请选择工作日');
                 return false;
            }
            if(!validate(this.dataMessage.business_hours_start,'require')){
                 this.$message.info('请选择营业开始时间');
                 return false;
            }
            if(!validate(this.dataMessage.business_hours_end,'require')){
                 this.$message.info('请选择营业结束时间');
                 return false;
            }
    //请求方法
    //数据验证
    
  let data62bd977cbc707 = await this.$api.post(global.apiUrls.post62bd977cbc707, {
    store_name:this.dataMessage.store_name,store_logo:this.dataMessage.store_logo,store_province_id:this.dataMessage.store_province_id,store_city_id:this.dataMessage.store_city_id,store_district_id:this.dataMessage.store_district_id,store_address:this.dataMessage.store_address,store_backdrop:this.dataMessage.store_backdrop,run_type:this.dataMessage.run_type_id,main_industry:this.dataMessage.main_industry_id,stay_time:this.dataMessage.stay_time_id,store_introduce:this.dataMessage.store_introduce,service_phone:this.dataMessage.service_phone,workday:this.dataMessage.workday_id,service_fee:this.dataMoney.service_fee,business_hours_start:this.dataMessage.business_hours_start,business_hours_end:this.dataMessage.business_hours_end
  });
  
  if (data62bd977cbc707.data.code != 1) {
    this.$message.info(data62bd977cbc707.data.msg);
    return
  } 
  
  
  
    this.$urouter.navigateTo(`/`);
                },
                //商家入驻-选择入驻时长
                async getTimeFunc(){
                        //请求方法
    //数据验证
    
  let dataduration = await this.$api.post(global.apiUrls.post6412db1998d7a, {
    
  });
  
  if (dataduration.data.code != 1) {
    this.$message.info(dataduration.data.msg);
    return
  } 
  let infoduration = dataduration.data;
  this.duration = infoduration.data
  
                },
                //商家入驻-获取主营行业
                async getindustryFunc(){
                        //请求方法
    //数据验证
    
  let datadataDetails = await this.$api.get(global.apiUrls.post6371eeabae0df, {
    
  });
  
  if (datadataDetails.data.code != 1) {
    this.$message.info(datadataDetails.data.msg);
    return
  } 
  let infodataDetails = datadataDetails.data;
  this.dataDetails = infodataDetails.data
  
                },
                //获取服务金额
                async getMoneyFunc(){
                        if( this.dataMessage.stay_time!='' && this.dataMessage.main_industry_id!=''){
            //请求方法
    //数据验证
    
  let datadataMoney = await this.$api.post(global.apiUrls.post6413de51c0abf, {
    stay_time:this.dataMessage.stay_time_id,main_industry:this.dataMessage.main_industry_id
  });
  
  if (datadataMoney.data.code != 1) {
    this.$message.info(datadataMoney.data.msg);
    return
  } 
  let infodataMoney = datadataMoney.data;
  this.dataMoney = infodataMoney.data
  
    }
                },
                //商家入驻-商家申请开店详情
                async queryMessageFunc(){
                        //请求方法
    //数据验证
    
  let datadataMessage = await this.$api.get(global.apiUrls.post62be7019e6ae4, {
    
  });
  
  if (datadataMessage.data.code != 1) {
    this.$message.info(datadataMessage.data.msg);
    return
  } 
  let infodataMessage = datadataMessage.data;
  this.dataMessage = infodataMessage.data
  
    this.address=this.dataMessage.store_province_name+this.dataMessage.store_city_name+this.dataMessage.store_district_name
                    this.getMoneyFunc()
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .informationShopss_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .informationShopss_fd0_1{
        color:#333333;font-size:36rpx;font-weight:500;line-height:50rpx;
    }
    .informationShopss_fd0_0_c0{
        width:20rpx;height:36rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 0rpx 32rpx;
    }
    .informationShopss_fd0_0{
        width:100rpx;height:88rpx;
    }
    .informationShopss_picker1_0_c2{
        color:var(--benbenFontColor9);
    }
    .informationShopss_picker1_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;
    }
    .informationShopss_flex_2{
        background:#fff;background-size:100% auto !important;padding:0rpx 32rpx 0rpx 32rpx;margin:24rpx 0rpx 0rpx 0rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .informationShopss_fd2_15_c1{
        background:var(--benbenbgColor2);border-radius:100rpx 100rpx 100rpx 100rpx;font-size:32rpx;color:var(--benbenFontColor3);width:328rpx;height:88rpx;line-height:88rpx;font-weight:500;margin:0rpx 0rpx 0rpx 32rpx;
    }
    .informationShopss_fd2_15_c0{
        border:1px solid var(--benbenbdColor2);background:var(--benbenbgColor1);border-radius:100rpx 100rpx 100rpx 100rpx;font-size:32rpx;color:var(--benbenFontColor8);width:328rpx;height:88rpx;line-height:88rpx;font-weight:500;
    }
    .informationShopss_fd2_15{
        background:rgba(248, 248, 248, 1);background-size:100% auto !important;height:180rpx;position:fixed;width:750rpx;bottom:calc(0rpx + var(--window-bottom));left:0rpx;
    }
    .informationShopss_fd2_14_c1_c1{
        color:#333333;font-size:30rpx;font-weight:400;
    }
    .informationShopss_fd2_14_c1_c0_c0{
        text-align:center;width:200rpx;font-size:30rpx;font-weight:400;color:#333;
    }
    .informationShopss_fd2_14_c1{
        margin:0rpx 0rpx 0rpx auto;
    }
    .informationShopss_fd2_14_c0{
        color:#333333;font-size:32rpx;font-weight:400;line-height:40rpx;margin:32rpx 0rpx 32rpx 0rpx;
    }
    .informationShopss_fd2_14{
        border-bottom:1px solid #eee;margin:0rpx 0rpx 180rpx 0rpx;
    }
    .informationShopss_fd2_12_c1_c0_c1_c0{
        font-size:28rpx;font-weight:400;color:var(--benbenFontColor0);
    }
    .informationShopss_fd2_12_c1_c0_c1{
        border:1px solid var(--benbenbdColor4);width:190rpx;height:64rpx;margin:0rpx 34rpx 24rpx 0rpx;border-radius:8rpx;
    }
    .informationShopss_fd2_12_c1_c0_c0_c0{
        font-size:28rpx;font-weight:400;color:var(--benbenFontColor3);
    }
    .informationShopss_fd2_12_c1_c0_c0{
        border:1px solid var(--benbenbdColor2);background:var(--benbenbgColor7);width:190rpx;height:64rpx;background-size:100% auto !important;margin:0rpx 34rpx 24rpx 0rpx;border-radius:8rpx;
    }
    .informationShopss_fd2_12_c0{
        color:#333333;font-size:30rpx;font-weight:400;line-height:42rpx;margin:0rpx 0rpx 24rpx 0rpx;
    }
    .informationShopss_fd2_12{
        border-bottom:1px solid #eee;padding:32rpx 0rpx 32rpx 0rpx;
    }
    .informationShopss_input_fd2_10_c1{
        width:100%;font-size:24rpx;font-weight:400;color:#333;height:160rpx;
    }
    .informationShopss_fd2_10_c1{
        background:rgba(246, 247, 249, 1);width:686rpx;background-size:100% auto !important;padding:24rpx 24rpx 24rpx 24rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .informationShopss_fd2_10_c0{
        color:#333333;font-size:32rpx;font-weight:400;line-height:40rpx;margin:0rpx 0rpx 35rpx 0rpx;
    }
    .informationShopss_fd2_6_c2{
        color:#2A2A2A;font-size:30rpx;font-weight:400;line-height:42rpx;margin:0rpx 0rpx 0rpx 8rpx;
    }
    .informationShopss_fd2_4_c2{
        width:19rpx;height:28rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 0rpx 24rpx;
    }
    .informationShopss_fd2_4_c0{
        font-size:32rpx;font-weight:400;line-height:40rpx;color:#333333;
    }
    .informationShopss_fd2_3_c1_c1_c1{
        color:#333;font-size:32rpx;font-weight:400;line-height:40rpx;
    }
    .informationShopss_fd2_3_c1_c1_c0{
        width:32rpx;height:32rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 10rpx 0rpx 0rpx;
    }
    .informationShopss_fd2_3_c1_c0_c1{
        color:#2A2A2A;font-size:32rpx;font-weight:400;line-height:42rpx;
    }
    .informationShopss_fd2_3_c1_c0_c0{
        width:32rpx;height:32rpx;margin:0rpx 10rpx 0rpx 0rpx;
    }
    .informationShopss_fd2_3_c1_c0{
        margin:0rpx 0rpx 0rpx 44rpx;
    }
    .informationShopss_fd2_2_c2_image{
        width:180rpx;height:180rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .informationShopss_fd2_1_c2_image{
        width:180rpx;height:180rpx;
    }
    .informationShopss_fd2_1_c1{
        color:#929292;font-size:26rpx;font-weight:400;line-height:37rpx;margin:0rpx auto 0rpx 14rpx;
    }
    .informationShopss_fd2_1_c0{
        color:#333333;font-size:32rpx;font-weight:400;line-height:40rpx;
    }
    .informationShopss_fd2_0_c1{
        margin:0rpx 0rpx 0rpx 32rpx;text-align:right;font-size:28rpx;font-weight:400;color:#333;
    }
    .informationShopss_fd2_0_c0{
        color:#2A2A2A;font-size:30rpx;font-weight:400;line-height:42rpx;
    }
    .informationShopss_fd2_0{
        border-bottom:1px solid #eee;padding:30rpx 0rpx 30rpx 0rpx;
    }
    .informationShopss_picker3_0_c2{
        color:rgba(53, 208, 134, 1);
    }
    .informationShopss_picker3_0_c0{
        color:var(--benbenFontColor1);
    }
    .informationShopss_picker3_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:100rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;font-size:32rpx;
    }
    .informationShopss_picker4_0_c2{
        color:rgba(53, 208, 134, 1);
    }
    .informationShopss_picker4_0_c0{
        color:var(--benbenFontColor1);
    }
    .informationShopss_picker4_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:100rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;font-size:32rpx;
    }
    .informationShopss_picker5_0_c2{
        color:var(--benbenFontColor9);font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker5_0_c0{
        color:#BFBFBF;font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker5_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:90rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;height:90rpx;
    }
    .informationShopss_picker6_0_c2{
        color:var(--benbenFontColor9);font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker6_0_c0{
        color:#BFBFBF;font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker6_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:90rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;height:90rpx;
    }
    .informationShopss_picker7_0_c2{
        color:var(--benbenFontColor9);
    }
    .informationShopss_picker7_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;
    }
    .informationShopss_picker8_0_c2{
        color:var(--benbenFontColor9);font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker8_0_c0{
        color:#BFBFBF;font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker8_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:90rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;height:90rpx;
    }
    .informationShopss_picker9_0_c2{
        color:var(--benbenFontColor9);font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker9_0_c0{
        color:#BFBFBF;font-size:32rpx;font-weight:500;line-height:40rpx;
    }
    .informationShopss_picker9_0{
        border-bottom:1px solid #eee;background:#fff;padding:0rpx 32rpx 0rpx 32rpx;line-height:90rpx;border-radius:25rpx 25rpx 0rpx 0rpx;background-size:100% auto !important;height:90rpx;
    }
</style>